Lecture 14 : Minimum Spanning Tree I
نویسندگان
چکیده
Suppose u, v are different currencies, and the exchange rate is C(u, v) (i.e., 1 unit of v is worth C(u, v) units of u). We set the length of the edge as w(u, v) = logC(u, v). We take the log because, in currency exchange, the rates are multiplicative factors, but in shortest path, path length is defined as sum of edge lengths. By this conversion, the length of a path is log of the total exchange rate. Because of the logarithm, the edge length w(u, v) can be negative or positive. It is negative if C(u, v) is less than 1, and as we mentioned, a negative cycle in the graph means currency arbitrage. In general, one can walk along a negative cycle infinitely many times, and a path that contains the cycle has length of negative infinity. Therefore, our algorithms will try to find shortest paths, assuming there is no negative cycle.
منابع مشابه
A Metaheuristic Algorithm for the Minimum Routing Cost Spanning Tree Problem
The routing cost of a spanning tree in a weighted and connected graph is defined as the total length of paths between all pairs of vertices. The objective of the minimum routing cost spanning tree problem is to find a spanning tree such that its routing cost is minimum. This is an NP-Hard problem that we present a GRASP with path-relinking metaheuristic algorithm for it. GRASP is a multi-start ...
متن کاملLecture notes for “Advanced Graph Algorithms”: Verification of Minimum Spanning Trees
We present a deterministic linear time algorithm for the Tree Path Maxima problem. As a corollary, we obtain a deterministic linear time algorithm for checking whether a given spanning tree T of a weighted graph is a minimum spanning tree.
متن کاملApproximation Algorithms and Hardness of Approximation March 19 , 2013 Lecture 9 and 10 : Iterative rounding II
In the last lecture we saw a framework for building approximation algorithms using iterative rounding: 1. Formulate the problem as a linear program (LP) 2. Characterise extreme point structure 3. Iterative algorithm 4. Analysis We used this framework to solve two problems: Matchings in Bipartite Graphs and the Generalised Assignment Problem. A negative point about this approach is that it requi...
متن کاملDependency Parsing
A dependency parser analyzes syntactic structure by identifying dependency relations between words. In this lecture, I will introduce dependency-based syntactic representations (§1), arcfactored models for dependency parsing (§2), and online learning algorithms for such models (§3). I will then discuss two important parsing algorithms for these models: Eisner’s algorithm for projective dependen...
متن کاملCounting the number of spanning trees of graphs
A spanning tree of graph G is a spanning subgraph of G that is a tree. In this paper, we focus our attention on (n,m) graphs, where m = n, n + 1, n + 2, n+3 and n + 4. We also determine some coefficients of the Laplacian characteristic polynomial of fullerene graphs.
متن کامل2017 Lecture 12 Lecturer : Mohsen Ghaffari Scribe : 1 Minimum Spanning Tree
In this lecture, we discuss a near-optimal distributed algorithm in the CONGEST model for the problem of computing a minimum spanning tree (MST). We note that, over the years, the problem of computing an MST has turned out to have a central role in distributed algorithms for network optimization problems, significantly more central than its role in the centralized algorithms domain. The upper a...
متن کامل